/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

using System;
using TypeException = argot.TypeException;
using TypeMap = argot.TypeMap;
using TypeLibrary = argot.TypeLibrary;

namespace argot.network
{
	
	public class ProtocolTypeMap
	:TypeMap
	{
		public const byte MAP = 1;
		public const byte MAPRES = 2;
		public const byte MAPREV = 3;
		public const byte BASE = 4;
		public const byte ERROR = 5;
		
		public ProtocolTypeMap(TypeLibrary library)
		:base(library)
		{
			
			Map(1, library.GetId("u8"));
			Map(2, library.GetId("u8ascii"));
			Map(3, library.GetId("s32"));
			Map(4, library.GetId("u16binary"));
			Map(5, library.GetId("u16"));
		}
	}
}